﻿using System;
using System.Collections.Generic;

using GalaSoft.MvvmLight;

using Holdem.Interfaces.Model;
using Holdem.Interfaces.ViewModel;

namespace Holdem.ViewModel
{
    public class HoldemAboutViewModel : ViewModelBase, IHoldemAboutTipViewModel
    {
        private readonly IHoldemAboutTipModel _model;
        
        public IEnumerable<HoldemAboutTip> Tips
        {
            get { return _model.Tips; }
        }

        public HoldemAboutViewModel(IHoldemAboutTipModel model)
        {
            if( model == null )
                throw new ArgumentNullException("model");

            _model = model;
        }
    }
}